<script>
	import state from '@/config'

	export default {
		onLaunch: function(p) {
			console.log(1,p)
			// #ifdef APP-PLUS
			plus.screen.lockOrientation('portrait-primary'); //锁定屏幕
			const dom = weex.requireModule('dom');
			dom.addRule('fontFace', {
				'fontFamily': "graceIconfont",
				'src': "url('/static/grace.ttf')"
			});
			// #endif
		},
		onTabItemTap(e) {
			console.log(2,e)
		},
		onShow: function() {},
		onHide: function() {}
	}
</script>
<style>
	@import "./static/base.css";
	/* 加载框架核心样式 */
	@import "./components/ui/css/graceUI.css";
	/* 加载主题样式 */
	@import "./components/ui/skin/black.css";

	/* 加载图标字体 - 条件编译模式 */
	/* #ifdef APP-PLUS-NVUE */
	.gui-icons {
		font-family: graceIconfont;
	}

	/* #endif */
	/* uni-app {
  background-color: #f2f2f2;
} */

	.message-text {
		line-height: 88rpx;
		font-size: 26rpx;
		text-align: center;
	}

	.data-null {
		display: flex;
		align-items: center;
		justify-content: center;
		background-color: #F8F8F8;
		color: #D9D9D9;
		text-align: center;
		font-size: 29px;
	}

	/* .tip {
		font-size: 28rpx;
		color: #D9D9D9;
		text-align: center;
		margin: 0 auto;
	} */

	.mr10 {
		margin-right: 10rpx;
	}

	.pb-10 {
		padding-bottom: 10rpx;
	}

	.pb-20 {
		padding-bottom: 20rpx;
	}

	/* #ifdef H5 */
	uni-page-head {
		display: none;
	}

	/* #endif */
	.ellipsis2 {
		text-overflow: -o-ellipsis-lastline;
		overflow: hidden;
		text-overflow: ellipsis;
		display: -webkit-box;
		-webkit-line-clamp: 2;
		line-clamp: 2;
		-webkit-box-orient: vertical;
		line-height: inherit;
	}

	.praise {
		font-size: 24rpx;
		margin: 0 8rpx;
	}

	.ok-praise {
		color: #D33C30;
	}

	.no-praise {
		color: #111111;
	}

	#myheader{
		padding-top: 1px;
	}
</style>